package com.elink.enginerring.file.service;

import java.util.Map;

import com.elink.enginerring.common.BaseCo;
import com.elink.enginerring.file.co.FileCo;
import com.elink.enginerring.file.entity.BuildFile;
import com.elink.enginerring.file.entity.File;
import com.elink.enginerring.video.entity.HierFile;

public interface IFileService {
	Map<String, Object> getListOfPage(FileCo co);

	Map<String, Object> add(File file, String dcIds);

	Map<String, Object> del(String ids);

	File getInfo(String fileId);

	Map<String, Object> modify(File file, String dcIds);

	Map<String, Object> addBuildFile(BuildFile file, String dcIds);

	Map<String, Object> addCertFile(BuildFile file, String dcIds);
	
	Map<String, Object> getFileListByCondition(BaseCo co, int type, int count,String joinTable,boolean flag,String userId,String fileName);

	Map<String, Object> getCountByCondition(int type, String joinTable);

	Map<String, Object> addSkillFile(int skillId, String fileIds);

	Map<String, Object> addPlanFile(HierFile file, String fileIds);

	Map<String, Object> getSkillFile(BaseCo co, String skillId,String keyWord);
}
